{include file="`$CMS_TPL_DIR`filemanager/tab_menu.tpl" mode="upload"}
<div style="margin:8px;text-align:left;background:#fff;">
{$smarty.config.FileManager_upload_advice} &quot;/{$dir}&quot;:

	<form id="uploadForm" action="" method="post" enctype="multipart/form-data" target="" onsubmit="return false;">
		{$smarty.config.FileManager_upload_advice_size}<br /><br />
	 	<div>
	 		<input type="file" name="upfile" id="upfile" value="" /> 
			 <br style="clear:both;" />
	 	</div>
		<div>
		</div>
	</form>	
		 <input type="submit" value="{$smarty.config.FileManager_upload_submit_label}" class="submitbtn"  onclick="{literal}xajax.request({ccdsclass:'ccdsFileManager',ccdsfun:'FileManagerFileSave'},{parameters:[{{/literal}dir:'{$dir}',root:xajax.$('FileManagerRoot').value,FieldType:xajax.$('FileManagerReturnFieldType').value{literal}}],mode:'SWFupload',SWFform:'uploadForm'});{/literal}" />

</div>